package com.init.engineering.service;

import com.init.engineering.pages.PageResult;
import com.init.engineering.pages.QueryPageBean;
import com.init.engineering.pojo.Subitem;

import java.util.List;

public interface SubitemService {

    List<Subitem> findSubitems();


    PageResult findSubitemsByPage(QueryPageBean queryPageBean);


    int saveSubitem(Subitem subitem);


    int deleteSubitem(String suid);



    Subitem findSubitemBySuid(String suid);


    int updateSubitem(Subitem subitem);


    List<Subitem> findSubitemsByPid(int pid);
}
